package com.ly.erms.modular.baseconfig.warpper;

import java.util.Map;

import com.ly.erms.common.constant.factory.ConstantFactory;
import com.ly.erms.core.base.warpper.BaseControllerWarpper;

/**
 * 类目实体包装
 * @author liuyang
 * @date 2018年1月16日
 */
public class ClassificationWarpper extends BaseControllerWarpper{

	public ClassificationWarpper(Object obj) {
		super(obj);
	}

	@Override
	protected void warpTheMap(Map<String, Object> map) {
		Integer createuser =(Integer)map.get("createuser");
		map.put("createuser", ConstantFactory.me().getUserNameById(createuser));
	}

}
